package cn.ylz.ylmall.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("t_product_comment")
public class PComment implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long commentId;
    private Long userId;
    private Long productId;
    private String ip;
    private Long pCid;
    private Long pUid;
    private Integer likeCount;
    private String content;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
    private List<PComment> childList;
}
